package com.xy;

/**
 * @author 谢阳
 * @version 1.8.0_131
 * @date 2022/6/13 11:07
 * @description
 */
public class Projector {
    private static final Projector instance = new Projector();

    private Projector(){}

    public static Projector getInstance() {
        return instance;
    }

    public void on() {
        System.out.println("投影仪打开了...");
    }

    public void off() {
        System.out.println("投影仪关闭了...");
    }

    public void focus() {
        System.out.println("投影仪聚焦中...");
    }
}
